home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
wpj1_6.zip
/
EDITPRO.ZIP
/
EDITPRO.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-30
|
1KB
|
43 lines
// EditPro Text File Editor Copyright (c) 1993 Eric Grass
// "editpro.h"
/* QuickCase:W KNB Version 1.00 */
#include <windows.h>
#include <string.h>
#include <stdlib.h>
#define IDM_FILE 1000
#define IDM_F_OPENT 1050
#define IDM_F_CLOSE 1100
#define IDM_F_EXITT 1200
#define IDM_F_ABOUT 1300
#define IDS_ERR_REGISTER_CLASS 1
#define IDS_ERR_CREATE_WINDOW 2
#define IDS_ERR_FILE2BIG 3
#define IDS_ERR_2MANYLINES 4
// Defines for the Line structure
#define LINELNGTH 256
#define MAXCHARS 251
#define FIRSTCHAR 5
#define INFOBYTE4 4
char szString[128]; /* variable to load resource strings */
char szAppName[20]; /* class name for the window */
HWND hInst;
HWND hWndMain;
HANDLE hAccel;
void cwCenter(HWND, int);
void FAR PASCAL DOS3Call( void);
LONG FAR PASCAL WndProc(HWND, WORD, WORD, LONG);
BOOL FAR PASCAL ABOUTMsgProc(HWND, WORD, WORD, LONG);
int nCwRegisterClasses(void);
void CwUnRegisterClasses(void);
void FileRoutine( void);
void CreateMsgBox( HWND, WORD);
int OkayMessageBoxf( HWND, PSTR, int);